{template header}


    <div class="tab">
        <ul>
            <li class="current">系统提示</li>
        </ul>
    </div>

    <div class="box">
        <div class="msg">
            <div class="info"></div>
            <div class="text">
                <p>{$msg}</p>
                <p><b style="color: red; padding-right: 5px;">{$time}</b>秒后自动返回!</p>
                <p>[<a href="javascript:;window.location.href = '{$url}';">立即返回</a>]</p>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        var n = $(".text b").html();
        var i = 0;
        var t = window.setInterval( "back()", 1000 );
        function back(){
            i++;
            $(".text b").html( n - i );
            if( n - i == 0 ){
                clearInterval(t);
                window.setTimeout( function(){ window.location.href = '{$url}'}, 1000 );
                return;
            }
        }
    </script>

{template footer}